package com.ds.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ds.entity.EvaluationArchive;

//@RestController
//@Api(value = "测试", tags = { "测试" })
public class TestController {
	
	@Value("${com.qxl.name}")
	public String name ; 
	
	  @GetMapping("/get")
	  public String get(){
	      return name;
	 }
	  
	  @ApiOperation(value = "test2")
	  @GetMapping("/get2")
	  public EvaluationArchive get2(EvaluationArchive evaluationArchive){
	      return  evaluationArchive;
	 }

}
